package com.yny.spring.student.dao;

import com.spring.student.register.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;


@Controller
public class UserDaoImpl{
    @Autowired
    User user;

    public Object findAll(){
        String name = "li";
        String number = "2023032300111";
        String password = "ccrgsh";
        Object[] list = new Object[]{name,number,password};
        return list;
    }
    public String Zhuce(){
        return "注册\n"+ "身份："+ user.getIdentity()+"\n"+"学号："+user.getNumber()+"\n"+"密码："+user.getPassword();
    }

}